#pragma once

#include <QObject>
#include <QMap>
#include "pioplugin.h"

class FindDuplicatesPlugin : public QObject, PioPlugin
{
    Q_OBJECT
    Q_INTERFACES(PioPlugin)

public:
    void setup(PioCore * core);
    QStringList licenseInfo();

private slots:
    void findDuplicates();

private:
    static bool equal(const QString & filea, const QString & fileb);
    PioCore * m_core;
};
